package com.ujoin.dao;

import java.util.List;

import com.ujoin.bean.ActivityMessage;

public interface IActivityMessageDAO {

	public abstract void save(ActivityMessage transientInstance);

	public abstract void delete(ActivityMessage persistentInstance);

	public abstract ActivityMessage findById(java.lang.Integer id);

	public abstract List findByExample(ActivityMessage instance);

	public abstract List findByProperty(String propertyName, Object value);

	public abstract List findByReceiverId(Object receiverId);

	public abstract List findByActivityId(Object activityId);

	public abstract List findByMessage(Object message);

	public abstract List findByIsRead(Object isRead);

	public abstract List findByValid(Object valid);

	public abstract List findAll();

	public abstract ActivityMessage merge(ActivityMessage detachedInstance);

	public abstract void attachDirty(ActivityMessage instance);

	public abstract void attachClean(ActivityMessage instance);

}